package com.mew.common.entity.back;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author ztq
 * @since 2020-11-30
 */

@Data
@ToString
@TableName("b_admin")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Admin{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    private Integer state;

    @TableField(exist = false)
    private String rolename;


}
